<!DOCTYPE html>
<html lang="en">
<style type="text/css">
    #searchText {
        border: solid 2px #FEC816;
        height: 30px;
        width: 350px;
        color: grey;
    }

    a {
        text-decoration: none;
    }
</style>
<head>
    <meta charset="UTF-8">
    <title>黑马旅游</title>
    <script src="../js/jquery-3.3.1.js"></script>
    <script>
        $(function () {
            var i = 0;
            var inte = setInterval(function (args) {
                i++;
                if (i > 3) {
                    i = 1;
                }
                $("#banner").fadeIn(2000);
                setTimeout(function () {
                    $("#banner").fadeOut(2000);
                    setTimeout(function () {
                        document.getElementById("banner").src = "../img/banner_" + i + ".jpg";
                        switch (i) {
                            case 1:
                                document.getElementById("a").href = "http://ctrip.jidianc.cn";
                                break;
                            case 2:
                                document.getElementById("a").href = "http://huodong.ctrip.com/dailytour/d-Beijing-1";
                                break;
                            case 3:
                                document.getElementById("a").href = "http://www.mafengwo.cn/zt/19-0-0-1.html";
                                break;
                            default:
                                alert("轮播图出错！")
                        }
                    }, 2000);
                }, 4000);
            }, 6000);
        });

        window.onload = function (ev) {
            var searchText = document.getElementById("searchText");
            searchText.onfocus = function (ev2) {
                if (searchText.value == " 请输入路线名称") {
                    searchText.value = "";
                    searchText.style.color = 'black';
                }
            }
            searchText.onblur = function (ev2) {
                if (searchText.value == "") {
                    searchText.style.color = 'grey';
                    searchText.value = " 请输入路线名称";
                } else {
                    searchText.style.color = 'black';
                }
            }
            var searchButton = document.getElementById("searchButton");
            searchButton.onmouseup = function (ev2) {
                if (searchText.value == " 请输入路线名称") {
                    searchText.value = "";
                }
                setTimeout(function () {
                    searchText.value = " 请输入路线名称";
                }, 10);
            }
        }
    </script>
</head>
<body>
<table>
    <tr> <!-- 第一行 -->
        <td><img src="../img/top_banner.jpg" width="100%"></td>
    </tr>
    <table width="100%">
        <tr align="center"> <!-- 第二行 -->
            <td><img src="../img/logo.jpg" alt=""></td>
            <td>
                <form action="https://www.baidu.com/s" method="get" target="_blank">
                    <table cellspacing="0px" cellpadding="0px" bgcolor="#FEC816">
                        <tr>
                            <td>
                                <input type="text" name="wd" id="searchText" value=" 请输入路线名称">
                            </td>
                            <td>
                                <input type="image" id="searchButton" name="searchButton" src="../img/searchButton.PNG"
                                       height="36px"
                                       align="center">
                            </td>
                        </tr>
                    </table>
                </form>
            </td>
            <td><img src="../img/hotel_tel.png" alt=""></td>
        </tr>
    </table>
    <tr> <!-- 第三行 -->
        <td>
            <table bgcolor="#FEC816" width="100%" height="45px">
                <tr align="center">
                    <td><a href="#"><font color="black">首页</font></a></td>
                    <td><a href="#"><font color="black">门票</font></a></td>
                    <td><a href="#"><font color="black">酒店</font></a></td>
                    <td><a href="#"><font color="black">香港车票</font></a></td>
                    <td><a href="#"><font color="black">出境游</font></a></td>
                    <td><a href="#"><font color="black">国内游</font></a></td>
                    <td><a href="#"><font color="black">港澳游</font></a></td>
                    <td><a href="#"><font color="black">抱团定制</font></a></td>
                    <td><a href="#"><font color="black">全球自由行</font></a></td>
                    <td><a href="#"><font color="black">收藏排行榜</font></a></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr> <!-- 第四行 -->
        <td>
            <a href="http://www.mafengwo.cn/zt/19-0-0-1.html" id="a" target="_blank">
                <img src="../img/banner_3.jpg" width="100%" id="banner">
            </a>
        </td>
    </tr>
    <tr> <!-- 第五行 -->
        <td>
            <table width="100%" cellpadding="10px" cellspacing="10px">
                <tr>
                    <td colspan="4">
                        <img src="../img/icon_5.jpg" alt="">黑马精选
                        <hr noshade="noshade" color="yellow"/>
                    </td>
                </tr>
                <tr align="center">
                    <td><img src="../img/jiangxuan_1.jpg" alt="" width="100%"></td>
                    <td><img src="../img/jiangxuan_1.jpg" alt="" width="100%"></td>
                    <td><img src="../img/jiangxuan_1.jpg" alt="" width="100%"></td>
                    <td><img src="../img/jiangxuan_1.jpg" alt="" width="100%"></td>
                </tr>
                <tr>
                    <td><font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font></td>
                    <td><font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font></td>
                    <td><font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font></td>
                    <td><font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font></td>
                </tr>
                <tr>
                    <td><font color="red">￥899</font></td>
                    <td><font color="red">￥899</font></td>
                    <td><font color="red">￥899</font></td>
                    <td><font color="red">￥899</font></td>
                </tr>
            </table>
        </td>
        <td>
            <table width="100%" cellpadding="10px" cellspacing="30px">
                <tr>
                    <td colspan="4">
                        <img src="../img/icon_6.jpg" alt="">国内游
                        <hr noshade="noshade" color="yellow"/>
                    </td>
                </tr>
                <tr>
                    <td rowspan="2"><img src="../img/guonei_1.jpg" height="100%"></td>
                    <td>
                        <img src="../img/jiangxuan_2.jpg" width="100%"> <br/>
                        <font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font> <br/>
                        <font color="red">￥699</font>
                    </td>
                    <td>
                        <img src="../img/jiangxuan_2.jpg" width="100%"> <br/>
                        <font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font> <br/>
                        <font color="red">￥699</font>
                    </td>
                    <td>
                        <img src="../img/jiangxuan_2.jpg" width="100%"> <br/>
                        <font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font> <br/>
                        <font color="red">￥699</font>
                    </td>
                </tr>
                <tr>
                    <td>
                        <img src="../img/jiangxuan_2.jpg" width="100%"> <br/>
                        <font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font> <br/>
                        <font color="red">￥699</font>
                    </td>
                    <td>
                        <img src="../img/jiangxuan_2.jpg" width="100%"> <br/>
                        <font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font> <br/>
                        <font color="red">￥699</font>
                    </td>
                    <td>
                        <img src="../img/jiangxuan_2.jpg" width="100%"> <br/>
                        <font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font> <br/>
                        <font color="red">￥699</font>
                    </td>
                </tr>
            </table>
        </td>
        <td>
            <table width="100%" cellpadding="10px" cellspacing="30px">
                <tr>
                    <td colspan="4">
                        <img src="../img/icon_7.jpg" alt="">境外游
                        <hr noshade="noshade" color="yellow"/>
                    </td>
                </tr>
                <tr>
                    <td rowspan="2"><img src="../img/jiangwai_1.jpg" height="100%"></td>
                    <td>
                        <img src="../img/jiangxuan_3.jpg" width="100%"> <br/>
                        <font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font> <br/>
                        <font color="red">￥699</font>
                    </td>
                    <td>
                        <img src="../img/jiangxuan_3.jpg" width="100%"> <br/>
                        <font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font> <br/>
                        <font color="red">￥699</font>
                    </td>
                    <td>
                        <img src="../img/jiangxuan_3.jpg" width="100%"> <br/>
                        <font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font> <br/>
                        <font color="red">￥699</font>
                    </td>
                </tr>
                <tr>
                    <td>
                        <img src="../img/jiangxuan_3.jpg" width="100%"> <br/>
                        <font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font> <br/>
                        <font color="red">￥699</font>
                    </td>
                    <td>
                        <img src="../img/jiangxuan_3.jpg" width="100%"> <br/>
                        <font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font> <br/>
                        <font color="red">￥699</font>
                    </td>
                    <td>
                        <img src="../img/jiangxuan_3.jpg" width="100%"> <br/>
                        <font size="2">上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</font> <br/>
                        <font color="red">￥699</font>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr> <!-- 第六行 -->
        <td><img src="../img/footer_service.png" width="100%"></td>
        <br/>
    </tr>
    <!--第七行-->
    <table width="100%">
        <tr bgcolor="#FEC816">
            <td align="center" height="45px"><font size="2" color="#808080">&copy;江苏传智播客教育科技股份有限公司
                版权所有Copyright 2006-2018, All Rights Reserved 苏ICP备16007882</font></td>
        </tr>
    </table>
</table>
</body>
</html>